﻿using PowerHub.MES.Entities.ProductPlanning;
using PowerHub.MES.Entities.Shopfloor;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.Entities.Equipment
{


    /// <summary>
    /// 设备管理
    /// </summary>
    [Table("Equipment_EquipmentManagement")]
    public class Equipment_EquipmentManagement : BaseEntity
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        public string? EquipmentNo { get; set; }

        /// <summary>
        /// 设备管理分类ID
        /// </summary>
        public string? EquipmentClassifyId { get; set; }

        ///// <summary>
        ///// 工作站台id
        ///// </summary>
        //public string? WorkStationId { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string? EquipmentName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string? Model { get; set; }

        /// <summary>
        /// 设备状态
        /// </summary>
        public long? Status { get; set; }

        public virtual Equipment_EquipmentClassify? EquipmentClassify { get; set; }
        //public virtual Shopfloor_WorkStation? WorkStation { get; set; }

    }

}
